home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 141
/
(Vol 141) Oct 17 2011.iso
/
Games
/
fire-man.swf
/
scripts
/
frame_589
/
PlaceObject2_230_6
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2011-10-17
|
614 b
|
33 lines
onClipEvent(enterFrame){
if(_visible)
{
this.gotoAndStop(1);
if(_X >= 256 || _X <= 0 || impact)
{
if(!u)
{
this.gotoAndStop("hit");
u = 1;
}
else
{
_X = 120;
_Y = -1000;
this.gotoAndStop(1);
heroe.shooting = false;
_visible = false;
u = 0;
}
}
else
{
_X = _X + (dx - heroe.scrollspeed);
_Y = _Y - heroe.vscrollspeed;
}
}
else
{
impact = false;
}
}